﻿<Window x:Class="TranThiQuynhUyen.cau2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="cau2" Height="500" Width="600" Loaded="Window_Loaded_1">
    <Grid>
        <Label Content="QUẢN LÝ THÔNG TIN SINH VIÊN"  FontSize="18" Foreground="Plum" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="115,24,0,0" Width="316"/>
        <Label Content="Mã SV"  HorizontalAlignment="Left" Margin="10,75,0,0" VerticalAlignment="Top" Width="50"/>
        <Label Content="Mã Khoa" HorizontalAlignment="Left" Margin="10,112,0,0" VerticalAlignment="Top" Width="71"/>
        <Label Content="Họ SV" HorizontalAlignment="Left" Margin="154,75,0,0" VerticalAlignment="Top"/>
        <Label Content="Ngày Sinh" HorizontalAlignment="Left" Margin="154,112,0,0" VerticalAlignment="Top" Width="77"/>
        <Label Content="Tên SV" HorizontalAlignment="Left" Margin="363,75,0,0" VerticalAlignment="Top" Width="52"/>
        <Label Content="Giới Tính" HorizontalAlignment="Left" Margin="363,112,0,0" VerticalAlignment="Top"/>
        <TextBox HorizontalAlignment="Left"  TextAlignment="Center" Height="23" Margin="81,79,0,0" TextWrapping="Wrap" Name="masv1" VerticalAlignment="Top" Width="68"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="226,78,0,0" TextWrapping="Wrap" Name="ho1" VerticalAlignment="Top" Width="114"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="435,75,0,0" TextWrapping="Wrap" Name="ten1" VerticalAlignment="Top" Width="127"/>
        <TextBox HorizontalAlignment="Left" Height="23" Margin="81,112,0,0" TextWrapping="Wrap" Name="makhoa1" VerticalAlignment="Top" Width="68"/>
      
        <TextBox HorizontalAlignment="Left" Height="23" Margin="435,112,0,0" TextWrapping="Wrap" Name="gt"  VerticalAlignment="Top" Width="127"/>
        <ComboBox HorizontalAlignment="Left"  Name="ngsinh" Margin="226,116,0,0" VerticalAlignment="Top" Width="114"/>
        <DataGrid Name="datagrid" AutoGenerateColumns="False" HorizontalAlignment="Left" Margin="2,166,0,0" VerticalAlignment="Top" Height="268" Width="582">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Mã sv" Width="60" Binding="{Binding masv}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Họ sinh viên" Width="100" Binding="{Binding ho}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Tên sinh viên" Width="150" Binding="{Binding ten}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Ngày sinh" Width="100" Binding="{Binding ngaysinh}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Giới tính" Width="100" Binding="{Binding gioitinh}" ></DataGridTextColumn>
                <DataGridTextColumn Header="Mã khoa" Width="*" Binding="{Binding makhoa}" ></DataGridTextColumn>
               
                
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="Thêm" HorizontalAlignment="Left" Name="them" Click="them_Click_1" VerticalAlignment="Top" Width="75" Margin="91,439,0,0"/>
        <Button Content="Sửa" HorizontalAlignment="Left" Name="sua" Click="sua_Click_1" VerticalAlignment="Top" Width="75" Margin="171,439,0,0"/>
        <Button Content="Xóa" Name="xoa" Click="xoa_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="265,439,0,0"/>
        <Button Content="Thoát" Name="thoat" Click="thoat_Click_1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="363,439,0,0"/>


    </Grid>
</Window>
